package com.itheima.health.service;

import com.itheima.health.entity.PageResult;
import com.itheima.health.entity.QueryPageBean;
import com.itheima.health.pojo.Member;
import com.itheima.health.pojo.Order;
import com.itheima.health.vo.OrderInfo;

import java.util.List;
import java.util.Map;
import java.util.Set;

/**
 * @Author: lenovo
 * @Date: 21:57 2021/5/11
 * @Description: 预约设置
*/
public interface OrderService {
    Order add(Order order);

    Map<String , Object> findById(Integer id);

    Set<Member> findTomMember();

    PageResult findPage(QueryPageBean queryPageBean);

    void delete(Integer id,String status);

    void edit(Integer id,String status);

    List<Order> findAll();

    Order findOrderById(Integer id);
}
